//
//  SearchCollectionViewCell.m
//  XYFMApp
//
//  Created by 岁变 on 16/9/13.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import "SearchCollectionViewCell.h"

@implementation SearchCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        _titleLabel = [[UILabel alloc] initWithFrame:self.contentView.bounds];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.textColor = [UIColor colorWithRed:0.77 green:0.76 blue:0.84 alpha:1.00];
        _titleLabel.layer.cornerRadius = self.contentView.bounds.size.height / 2;
        _titleLabel.layer.borderWidth = 2;
        _titleLabel.layer.borderColor = [UIColor colorWithRed:0.77 green:0.76 blue:0.84 alpha:1.00].CGColor;
        [self.contentView addSubview:_titleLabel];
        
    }
    return self;
}

@end
